package com.grad.why.studentsystem.domain.current;

public class State {
//    checked: true,
//                disabled: true,
//                expanded: true,
//                selected: true
    private boolean checked;
    private boolean disabled;
    private boolean expanded;
    private boolean selected;

    public State(){
        checked = false;
        disabled = false;
        expanded = false;
        selected = false;
    }
    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

    public boolean isExpanded() {
        return expanded;
    }

    public void setExpanded(boolean expanded) {
        this.expanded = expanded;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    @Override
    public String toString() {
        return "State{" +
                "checked=" + checked +
                ", disabled=" + disabled +
                ", expanded=" + expanded +
                ", selected=" + selected +
                '}';
    }
}
